timeunits

Returns a string representation of the time unit index.

Contents

Syntax

U = timeunits(T)

Description

timeunits(T) returns a string corresponding to the time unit index provided after incrementing the index by 1.

This function only applies to PicoScope 2000 Series devices using the ps2000 driver API functions.

Example

T = 2; % nanoseconds

U = timeunits(T)
U =

    'ns'

Input Arguments

This should be one of the following values:

Output Arguments

Note: If T is set to -1, U will be returned as 'ADC'.

Copyright: © 2015-2019 Pico Technology Ltd. All rights reserved.